<html>
<head><meta charset="utf-8"><title>FxHashMap · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/FxHashMap.html">FxHashMap</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="173543380"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/FxHashMap/near/173543380" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Andrew Green <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/FxHashMap.html#173543380">(Aug 19 2019 at 13:27)</a>:</h4>
<p>I've noticed the usage of FxHashMap in rustc and salsa. I was wondering if there are advantages of using FxHashMap over HashMap (based on SwissTable), or if the remaining uses of FxHashMap are historical artifacts that can be removed.</p>



<a name="173543858"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/FxHashMap/near/173543858" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Zoxc <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/FxHashMap.html#173543858">(Aug 19 2019 at 13:33)</a>:</h4>
<p><code>FxHashMap</code> is just an alias of the standard <code>HashMap</code>, only with the faster <code>FxHasher</code> used.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>